package lq.demo.springbootmybatis.demo.service.impl;

import lq.demo.springbootmybatis.demo.entity.MyLog;
import lq.demo.springbootmybatis.demo.mapper.LogMapper;
import lq.demo.springbootmybatis.demo.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    @Autowired
    LogMapper logMapper;

    @Override
    public int addLog(MyLog myLog) {
        return logMapper.addLog(myLog);
    }
}
